/**
 * Classe che rappresenta una area di territori della mappa
 * @authore SPAIRisKo
 */

package org.spairisko.domain;

import java.util.ArrayList;
import java.util.List;


public class Area {

    private String name;
    private String descripiton;

    private List<Territory> territories;

    public Area(){
        this.territories = new ArrayList<Territory>();
    }

    public Area(String name, String descripiton) {
        this.name = name;
        this.descripiton = descripiton;
        this.territories = new ArrayList<Territory>();
    }

    public String getDescripiton() {
        return descripiton;
    }

    public void setDescripiton(String descripiton) {
        this.descripiton = descripiton;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Territory> getTerritories() {
        return territories;
    }

    public void setTerritories(List<Territory> territories) {
        this.territories = territories;
    }
}
